package ve.lm.hrms_cy.Entity.Request;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class SalaryQueryRequest {

    private Integer current;
    private Integer size;

    private Integer employeeId;   // 精确查询
//    private String name;          // 职工姓名（模糊查询）
    private String department;    // 部门（模糊查询）

    @JsonCreator
    public SalaryQueryRequest(
            @JsonProperty("current") Integer current,
            @JsonProperty("size") Integer size,
            @JsonProperty("employeeId") Integer employeeId,
//            @JsonProperty("name") String name,
            @JsonProperty("department") String department
    ) {
        this.current = current;
        this.size = size;
        this.employeeId = employeeId;
//        this.name = name;
        this.department = department;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

//    public String getName() {
//        return name;
//    }
//
//    public void setName(String name) {
//        this.name = name;
//    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
}
